-- GENERATED SPELL FOR [Shadowstalker Getry] --


function spell0_25729(pUnit, Event) --@Stealth,Self--
pUnit:FullCastSpellOnTarget(34189,pUnit)
pUnit:RegisterEvent('Sorts_25729', 661, 1)
end

function Sorts_25729(pUnit, Event)
local choix_sorts_25729 = math.random(0, 0)
if choix_sorts_25729 == 0 then
pUnit:RegisterEvent('spell0_25729', 1, 1)
end
end

function mob25729_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25729', math.random(1500, 3000), 1)
end

function mob25729_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25729_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25729_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25729, 1, 'mob25729_Action')
RegisterUnitEvent(25729, 2, 'mob25729_Leave')
RegisterUnitEvent(25729, 3, 'mob25729_Kill')
RegisterUnitEvent(25729, 4, 'mob25729_Die')
